//
//  FourViewController.m
//  BaseView
//
//  Created by 隗杰 on 16/3/31.
//  Copyright © 2016年 baobao. All rights reserved.
//
#import "BottomView.h"
#import "FourViewController.h"

@interface FourViewController ()

@property (assign,nonatomic)CGRect lastRect;
@property (strong,nonatomic)BottomView *bottomView;

@end

@implementation FourViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor orangeColor];
    self.bottomView = [BottomView sharedBottomView];
    [self.bottomView.delegate bottomViewDidPlayOrStop:self.bottomView butnSelected:YES];
    self.bottomView.hidden = YES;
}
- (void)viewDidDisappear:(BOOL)animated {
    [UIView animateWithDuration:0 animations:^{
        self.bottomView.hidden = NO;
        [self.bottomView.delegate bottomViewDidPlayOrStop:self.bottomView butnSelected:NO];
    }];
}

@end
